#ifndef DISPLAY_H
#define DISPLAY_H

#include <lvgl.h>
#include "network.h"
// #include "Time.h"
#include "TimeLib.h"


#define LCD_BL_PIN 5
#define LCD_BL_PWM_CHANNEL 0

extern Network wifi;

class Display
{
private:


public:
	void init();
	void routine();
	void setBackLight(float);
    void ShowTime(bool FlagSerialShow);
    void SyncTime(void);
	void showClock();
	void ShowERWEIMA(void);
    int PreWIFIConnect(String,String);
    int PreWebConnect(String WIFI_Name);
	void digitalClockDisplayInit(String cityCode);
	void digitalClockDisplay(String cityCode);
};

#endif